package com.cleaningcloud.erp.api.domain;

import com.cleaningcloud.common.core.annotation.Excel;
import com.cleaningcloud.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 库存商品数量对象 erp_ware_commodity_number
 *
 * @author cleaningcloud
 * @date 2024-09-28
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class ErpWareCommodityNumber extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long wareCommodityNumberId;

    /**
     * 仓库ID
     */
    @Excel(name = "仓库ID")
    private Long wareId;

    /**
     * 商品ID
     */
    @Excel(name = "商品ID")
    private Long commodityId;

    /**
     * 库存数量
     */
    @Excel(name = "库存数量")
    private int commodityNumber;

    // 初期库存数量
    private int startNumber;

    // 仓库名称
    private String wareName;

    // 商品名称
    private String commodityName;
    // 商品规格
    private String commoditySpec;
    // 商品类型
    private String commodityType;
    // 商品品牌
    private String commodityBrand;
    // 商品单位
    private String unitName;
    // 商品单价
    private BigDecimal costPrice;

    // 项目id
    private Long projectId;

}
